﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<Project>>" %>

<%@ Import Namespace="ChoViet.Model" %>
<option value="">-- Dự án --</option>
<%
    string OPTION_FORMAT = "<option value='{0}'>{1}</option>";
    if (Model != null && Model.Count() > 0)
    {
        foreach (var item in Model)
        {
%>
<%= string.Format(OPTION_FORMAT, item.ID, item.Title) %>
<%}
    }%>